import request from "../request.js"

//首页
export function frontpage() {
    return request("/frontpage")
}

//预约疫苗
export function newapptime() {
    return request("/newapptime")
}

//预约疫苗提交
export function rescovid(obj) {
    return request("/rescovid", "post", obj)
}


//获取核酸检测页面数据
export function nuataget() {
    return request("/nuataget")
}

//核酸检测订单
export function nuatauserorder() {
    return request("/nuatauser_order")
}

//核酸检测订单
export function nuatacancel(id) {
    return request("/nuatacancel?_id=" + id)
}

//提交核酸检测预约
export function resnuata(obj) {
    return request("/resnuata", "post", obj)
}

//图片上传接口
export const upload_picture = "https://meituan.thexxdd.cn/api/upload_picture"
//身份证AI识别
export const aicard = "https://meituan.thexxdd.cn/api/ai_card"

//获取就诊人信息
export function getpatient() {
    return request("/get_patient")
}

//提交就诊人
export function patientres(obj) {
    return request("/patient_res", "post", obj)
}


//提交图文咨询
export function graphics(obj) {
    return request("/graphics", 'post', obj)
}

//获取全部体检套餐
export function physget() {
    return request("/physget")
}

//获取体检筛选条件
export function phyterm() {
    return request("/phyterm")
}

//筛选体检套餐
export function phyquery(obj) {
    return request("/phyquery", "post", obj)
}

//体检详情
export function phydateil(id) {
    return request("/phydateil?id=" + id)
}
//体检预约提交
export function resphy(obj) {
    return request("/resphy",'post', obj)
}
//体检预约提交
export function phyuserorder() {
    return request("/phyuser_order")
}
//体检预约提交
export function phycancel(id) {
    return request("/phycancel?_id="+id)
}


//郁抑症
export function depressiontopics() {
    return request("/depression_topics")
}

//郁抑症结果
export function depression(arr) {
    return request("/depression","get",arr)
}

//男性
export function prematuretopics() {
    return request("/premature_topics")
}

//男性结果
export function premature(arr) {
    return request("/premature","get",arr)
}

//失眠
export function insomniatopics() {
    return request("/insomnia_topics")
}

//失眠结果
export function insomnia(arr) {
    return request("/insomnia","get",arr)
}

